Skip to main content
GET
/
v1
/
me
/
alerts
`GET /v1/me/alerts` — alerts delivered to the caller's subscriptions, newest first. Optional `asset`, `limit` (1..500), and `since` filters.
curl --request GET \
  --url https://api.pegana.xyz/v1/me/alerts \
  --header 'Authorization: Bearer <token>'
[
  {
    "alert_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "asset": "<string>",
    "attempted_at": "2023-11-07T05:31:56Z",
    "channel": "<string>",
    "from_state": "<string>",
    "status": "<string>",
    "to_state": "<string>",
    "ack_reason": "<string>",
    "acknowledged_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

Session JWT issued by POST /v1/auth/telegram (Telegram Login Widget) or POST /v1/auth/magic/consume. Send as Authorization: Bearer <jwt>.

Query Parameters

asset
string

Filter to a single asset symbol

limit
integer<int64>

Max rows, 1..500 (default 50)

since
string

RFC3339 lower bound on attempted_at (default: 30 days ago)

Response

Delivered alerts

alert_id
string<uuid>
required
asset
string
required
attempted_at
string<date-time>
required
channel
string
required
from_state
string
required
status
string
required
to_state
string
required
ack_reason
string | null
acknowledged_at
string<date-time> | null